﻿using System.Collections.Generic;
using UnityEngine;

namespace Share
{
    public abstract class SingletonScriptableConifg<T, T2> : SingletonScriptableObject<T> where T : ScriptableObject where T2 : class, new()
    {
        public List<T2> m_DataList = new List<T2>();

        public T2 GetDataByIndex(int index)
        {
            return m_DataList[index];
        }
    }
}
